<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class AgentLoginLog extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'agent_login_logs';
    protected $fillable = ['ip', 'user_agent', 'agent_id','username','password','success','forbiden_ip'];

    public function agent(){
        return $this->belongsTo(Agent::class);
    }
    
}
